

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>配置 &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/css/custom.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../../_static/favicon.ico"/>
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/underscore.js"></script>
        <script src="../../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="存储设备" href="storage-devices/" />
    <link rel="prev" title="Ceph 存储集群" href="../" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../../" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="../">Ceph 存储集群</a> &raquo;</li>
        
      <li>配置</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../../_sources/rados/configuration/index.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../">
          

          
            
            <img src="../../_static/logo.png" class="logo" alt="Logo"/>
          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../start/intro/">Ceph 简介</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../install/">安装 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephadm/">Cephadm</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../">Ceph 存储集群</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">配置</a><ul>
<li class="toctree-l3"><a class="reference internal" href="storage-devices/">存储设备</a></li>
<li class="toctree-l3"><a class="reference internal" href="ceph-conf/">配置 Ceph</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/">通用选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#ceph-network-config">网络</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#id3">监视器</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#ceph-osd-config">认证</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#osds">OSDs</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#id5">心跳</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#ceph-logging-and-debugging">日志记录、调试</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#ceph-conf">ceph.conf 实例</a></li>
<li class="toctree-l3"><a class="reference internal" href="common/#ceph-runtime-config">跑多个集群（已废弃）</a></li>
<li class="toctree-l3"><a class="reference internal" href="network-config-ref/">网络选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgr2/">信使协议 v2</a></li>
<li class="toctree-l3"><a class="reference internal" href="auth-config-ref/">认证选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="mon-config-ref/">监视器选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="mon-lookup-dns/">通过 DNS 查询监视器</a></li>
<li class="toctree-l3"><a class="reference internal" href="mon-osd-interaction/">心跳选项（监视器与 OSD 的的交互）</a></li>
<li class="toctree-l3"><a class="reference internal" href="osd-config-ref/">OSD 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="mclock-config-ref/">DmClock 配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="bluestore-config-ref/">BlueStore 配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="filestore-config-ref/">FileStore 配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="journal-ref/">日志选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="pool-pg-config-ref/">存储池、归置组和 CRUSH 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="general-config-ref/">常规选项</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../operations/">运维</a></li>
<li class="toctree-l2"><a class="reference internal" href="../man/">    手册页</a></li>
<li class="toctree-l2"><a class="reference internal" href="../troubleshooting/">故障排除</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api/">APIs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/developer_guide/">开发者指南</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <div class="section" id="id1">
<h1>配置<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
<p>各个 Ceph 进程、守护进程或工具都是在启动时从几个来源获取其配置，包括本地配置、监视器、命令行、或环境变量。配置选项可以设置为全局的，如此一来它们就可应用于所有守护进程、某种类型的所有守护进程或服务、或仅适用于某个守护进程、进程或客户端。</p>
<table cellpadding="10"><colgroup><col width="50%"><col width="50%"></colgroup><tbody valign="top"><tr><td><h3>配置对象存储</h3><p>下列是通用对象存储的配置：</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="storage-devices/">存储设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="ceph-conf/">配置 Ceph</a></li>
</ul>
</div>
</td><td><h3>参考</h3><p>参考下列文档优化集群性能：</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="common/">通用选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#ceph-network-config">网络</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#id3">监视器</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#ceph-osd-config">认证</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#osds">OSDs</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#id5">心跳</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#ceph-logging-and-debugging">日志记录、调试</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#ceph-conf">ceph.conf 实例</a></li>
<li class="toctree-l1"><a class="reference internal" href="common/#ceph-runtime-config">跑多个集群（已废弃）</a></li>
<li class="toctree-l1"><a class="reference internal" href="network-config-ref/">网络选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="msgr2/">信使协议 v2</a></li>
<li class="toctree-l1"><a class="reference internal" href="auth-config-ref/">认证选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="mon-config-ref/">监视器选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="mon-lookup-dns/">通过 DNS 查询监视器</a></li>
<li class="toctree-l1"><a class="reference internal" href="mon-osd-interaction/">心跳选项（监视器与 OSD 的的交互）</a></li>
<li class="toctree-l1"><a class="reference internal" href="osd-config-ref/">OSD 选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="mclock-config-ref/">DmClock 配置</a></li>
<li class="toctree-l1"><a class="reference internal" href="bluestore-config-ref/">BlueStore 配置</a></li>
<li class="toctree-l1"><a class="reference internal" href="filestore-config-ref/">FileStore 配置</a></li>
<li class="toctree-l1"><a class="reference internal" href="journal-ref/">日志选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="pool-pg-config-ref/">存储池、归置组和 CRUSH 选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="general-config-ref/">常规选项</a></li>
</ul>
</div>
</td></tr></tbody></table></div>



           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="storage-devices/" class="btn btn-neutral float-right" title="存储设备" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="../" class="btn btn-neutral float-left" title="Ceph 存储集群" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).

    </p>
  </div> 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>